package com.mashibing.mall.product

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
import org.springframework.cloud.openfeign.EnableFeignClients

@EnableFeignClients(basePackages = ["com.mashibing.mall.product.feign"])
@EnableDiscoveryClient
@MapperScan("com.mashibing.mall.product.dao")
@SpringBootApplication(scanBasePackages = ["com.mashibing"])
class MallProductApplication {

    static void main(String[] args) {
        SpringApplication.run(MallProductApplication, args)
    }

}
